Yoast\WP\Duplicate_Post\Post_Republisher S

Total Complexity 42
Dependencies 4
Dependents 1
Total lines 413
Lines of code 170
Logical lines of code 83
Comment lines 185
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
republish_request()
S
58 6 17
republish_scheduled_post()
S
61 4 12
change_post_copy_status()
S
63 4 10
clean_up_after_redirect()
S
65 4 8
determine_post_status()
S
67 3 9
register_hooks()
S
60 2 12
republish_post_elements()
S
61 2 11
clean_up_when_copy_manually_deleted()
S
66 2 8
delete_copy()
S
68 2 7
republish_post_meta()
S
59 1 15
is_classic_editor_post_request()
S
71 2 6
is_rest_request()
S
79 2 3
republish_after_post_request()
S
72 2 6
redirect()
S
61 1 13
republish()
S
68 1 7
republish_post_taxonomies()
S
65 1 9
republish_after_rest_api_request()
S
81 1 3
register_post_statuses()
S
64 1 10
__construct()
S
77 1 4